package com.whg.demo.listener;

import javax.servlet.ServletRequestEvent;
import javax.servlet.ServletRequestListener;
import javax.servlet.annotation.WebListener;

/**
 * @Author whg
 * @create 2022/12/2 16:40
 * @description：
 */
//@WebListener
public class RequestListener implements ServletRequestListener {

    @Override
    public void requestDestroyed(ServletRequestEvent sre) {
        System.out.println("=========requestDestroyed==========");
    }

    @Override
    public void requestInitialized(ServletRequestEvent sre) {
        System.out.println("=========requestInitialized==========");
    }
}
